import QtQuick 2.10
import QtQuick.Window 2.10

Rectangle {
    id:mainQml
    visible: true
    width: 640
    height: 480
    Component.onCompleted: {
        console.debug("main加载");
          var component = Qt.createComponent("qrc:/home.qml");
         if (component.status === Component.Ready) {
             var aQml = component.createObject(mainQml);
         }
    }
}
